package com.esri.core.geometry;

import com.esri.core.geometry.Geometry;
import org.codehaus.jackson.JsonParser;

/* loaded from: classes.dex */
class OperatorImportFromJsonLocal extends OperatorImportFromJson {
    @Override // com.esri.core.geometry.OperatorImportFromJson
    public MapGeometryCursor execute(Geometry.Type type, JsonParserCursor jsonParserCursor) {
        return new OperatorImportFromJsonCursor(type.value(), jsonParserCursor);
    }

    @Override // com.esri.core.geometry.OperatorImportFromJson
    public MapGeometry execute(Geometry.Type type, JsonParser jsonParser) {
        return new OperatorImportFromJsonCursor(type.value(), new SimpleJsonParserCursor(jsonParser)).next();
    }
}
